home *** CD-ROM | disk | FTP | other *** search
- The executables in this directory are tools to aid cross-platform programming.
- Following is an explanation of these tools and some examples.
- All programs are (c) Loki 1994, and can be freely distributed if unmodified.
-
- Program: Text2Dos
- Purpose: Convert text files into DOS format. Works on Mac, Unix or DOS files.
- Usage: text2dos [-?] filename1 [filename2 [...]]
- Example: text2dos *.c *.h
- Notes: Text2Dos is safe to run on text files which are already in DOS format.
-
- Program: Text2Mac
- Purpose: Convert text files to Mac format. Works on Mac, Unix or DOS files.
- Usage: text2mac [-?] filename1 [filename2 [...]]
- Example: text2mac *.*
- Notes: All of the Text2... programs refuse to convert binary files.
-
- Program: Text2Unx
- Purpose: Convert text files to Unix format. Works on Mac, Unix or DOS files.
- Usage: text2unx [-?] filename1 [filename2 [...]]
- Example: text2unx *.bak *.txt
- Notes: Unix text files end each line with a newline char (hex 0A).
-
- Program: Detab
- Purpose: Convert tabs into sequences of spaces so that indentation looks ok.
- Usage: detab [-?] [tabsize] filename1 [filename2 [...]]
- Example: detab 8 *.c *.h
- Notes: Tabstops are taken to be placed every 4 characters by default.
- The example shows how to change this to every 8 characters.
-
- Program: LS
- Purpose: List the files within a directory, sorted alphabetically or by size.
- Usage: ls [-?] [-lcwodfaxnestru] [pathname]
- Example: ls -? provides a comprehensive list of the options for this program.
- Notes: LS is similar to the UNIX program of the same name.
- If you are using a network which has its own LS command, do not use
- this program because it is purely a DOS program.